package com.springboot.frame.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author liheng
 * @ClassName SmsProperties
 * @Description
 * @date 2021-03-12 18:12
 */
@Data
@ConfigurationProperties(prefix = "sms.enabled")
public class SmsProperties {
    /**
     * 是否开启Captcha
     */
    private boolean enabled = false;
    /**
     * ak
     */
    private String accessKeyId;
    /**
     * ak
     */
    private String accessKeySecret;
    /**
     * 短信签名
     */
    private String signName;
    private TrenchType trenchType = TrenchType.ALIYUN;
}
